package com.hm.cms.share.service;

import com.hm.cms.mongo.annotation.RecycleRecordAnnotation;
import com.hm.cms.mongo.domain.def.DbCmsDef;
import com.hm.cms.mongo.vo.CmsSeoOptimizeVo;
import com.hm.common.model.PageInfo;
import com.hm.common.util.CommonDef.OperationRecord;

/**
 * @author shishun.wang
 * @date 下午6:13:56 2016年8月5日
 * @version 1.0
 * @describe
 */
public interface CmsSeoOptimizeService {

	public CmsSeoOptimizeVo getCmsSeoOptimize(String id);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_NEW, documentDef = DbCmsDef.CMS_SEO_OPTIMIZE)
	public String addCmsSeoOptimize(CmsSeoOptimizeVo optimizeVo, String operationUser);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_UPDATE, documentDef = DbCmsDef.CMS_SEO_OPTIMIZE)
	public String updateCmsSeoOptimize(CmsSeoOptimizeVo optimizeVo, String operationUser);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_DELETE, documentDef = DbCmsDef.CMS_SEO_OPTIMIZE)
	public String deleteCmsSeoOptimize(CmsSeoOptimizeVo optimizeVo, String operationUser);

	public PageInfo<CmsSeoOptimizeVo> queryCmsSeoOptimize(Integer pageNumber, Integer pageSize);
}
